import layout from '../layout'
import home from '../pages/home'
import boiling from '../pages/boiling'
import book from '../pages/book'
import information from '../pages/information'
const routes = [
    {
        from: '/',
        to: '/layout'
    },
    {
        path: "/layout",
        com: layout,
        children: [
            {
                from: "/layout",
                to: '/layout/home/1'
            },
            {
                path: "/layout/home/:id",
                com: home
            },
            {
                path: "/layout/boiling",
                com: boiling,
            },
            {
                path: "/layout/book",
                com: book
            },
            {
                path: "/layout/information",
                com: information
            }
        ]
    },
]

export default routes;